<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description"
	content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords"
	content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>

<style type="text/css">
td {
	padding: 0px;
	width: 100px;
}
</style>

</head>
<body>



	<div class="container-fluid"
		data-ng-controller="receiveXSFPDetailQueryListCtrl as Model">

		<div class="row">
			<div class="col-sm-12">
				<nav class="nav">
      				<ul class="pagination navbar-left buttonBar">
						<li>
							<div class="btn-group" role="toolbar">
								<button type="button" class="btn btn-default" data-ng-click="Model.query()" ng-hide="true">
									<span class="glyphicon glyphicon-refresh"></span> 查询
								</button>
							</div>
						</li>
					</ul>

					<query-like data="Model.dataMaster" place-holder="模糊查询..."></query-like>
				
	<form class="navbar-form navbar-left buttonBar" style="padding-left:0px;padding-right:0px;">
         <div class="form-group">
 			<label class="control-label">单号:</label>
          	<grid-filter  placeholder="请输入单号" filter-data="Model.dataMaster" filter-relation="accountInvoiceNo" xid="gridFilter1" auto-refresh="false"></grid-filter>
         </div>
         <div class="form-group" ng-hide="true">
 			<label class="control-label">单据日期:</label>
          	<grid-filter  placeholder="请输入单据日期" filter-data="Model.dataMaster" filter-relation="orderDate" xid="gridFilter4" auto-refresh="false"></grid-filter>
        </div>
         <div class="form-group">
 			<label class="control-label">单据日期:</label>
          	<range-filter  placeholder="请输入日期" filter-data="Model.dataMaster" filter-relation="orderDate" xid="rangeilter1" auto-refresh="false"></range-filter>
         </div>
		<!-- Split button -->
		<div class="btn-group">
			<button type="button" class="btn btn-default" data-ng-click="Model.refresh()">
				<span class="glyphicon glyphicon-refresh"></span> 刷新
			</button>
		  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
		    <span class="caret"></span>
		    <span class="sr-only">Toggle Dropdown</span>
		  </button>
		  <ul class="dropdown-menu" role="menu">
		    <li><a data-toggle="collapse" href="#_invoice_receiveXSFPDetailQuery_list"> 更多过滤条件</a></li>
		  </ul>
		</div>
    </form>		

				</nav>
				
<div class="collapse" id="_invoice_receiveXSFPDetailQuery_list">
  <div class="well" style="padding-left:0px;padding-right:0px;">
	<nav class="nav">
		<form class="navbar-form navbar-left buttonBar" style="padding-left:0px;padding-right:0px;">
         <div class="form-group">
 			<label class="control-label">物料号:</label>
          	<grid-filter  placeholder="请输入物料编码" filter-data="Model.dataMaster" filter-relation="itemNo" xid="gridFilter2" auto-refresh="false"></grid-filter>
         </div>
         <div class="form-group">
 			<label class="control-label">交易对象:</label>
          	<grid-filter  placeholder="请输入对象编码" filter-data="Model.dataMaster" filter-relation="customerNo" xid="gridFilter4" auto-refresh="false"></grid-filter>
         </div>
         <div class="form-group">
 			<label class="control-label">对象名称:</label>
          	<grid-filter  placeholder="请输入对象名称" filter-data="Model.dataMaster" filter-relation="customerName" xid="gridFilter5" auto-refresh="false"></grid-filter>
         </div>
		<button type="button" class="btn btn-default" data-ng-click="Model.refresh()" data-toggle="collapse" data-target="#_invoice_receiveXSFPDetailQuery_list">
			<span class="glyphicon glyphicon-refresh"></span> 刷新
		</button>
		</form>
	</nav>
  </div>
</div>				

			</div>
		</div>
<div class="row">
  <div class="col-sm-6 col-md-3">
    <div class="thumbnail">
      <div class="caption">
        <h3 ng-bind="Model.dataMaster.getAggregateValue('sumItemAmount')"></h3>
        <p>总数量</p>
      </div>
    </div>
  </div>
  <div class="col-sm-6 col-md-3">
    <div class="thumbnail">
      <div class="caption">
        <h3 ng-bind="Model.dataMaster.getAggregateValue('sumOrderAmountTotal')"></h3>
        <p>总金额</p>
      </div>
    </div>
  </div>
  <div class="col-sm-6 col-md-3">
    <div class="thumbnail">
      <div class="caption">
        <h3 ng-bind="Model.dataMaster.getAggregateValue('sumOrderAmountTax')"></h3>
        <p>税额</p>
      </div>
    </div>
  </div>
  <div class="col-sm-6 col-md-3">
    <div class="thumbnail">
      <div class="caption">
        <h3 ng-bind="Model.dataMaster.getAggregateValue('sumOrderAmountOld')"></h3>
        <p>未税金额</p>
      </div>
    </div>
  </div>
</div>

		<div class="row">
			<div class="col-sm-12">

			<div class="table-responsive">
				<table class="table table-hover table-condensed" style="margin:0px;">
					<thead>
								<tr>
									<th colspan="99"  style="padding:0px;">
									</th>
								</tr>

						<tr>
							<th></th>
							<th>#</th>
							<th hidden="true">状态</th>
							<th hidden="true">fID</th>

							<th hidden="true">子系统</th>
							<th hidden="true">单据类型</th>
							<th hidden="true">单据类型</th>
							<th hidden="hidden">物料编码</th>
							<th>物料描述</th>
							<th hidden="hidden">基本计量单位代码</th>
							<th>单位</th>
							<th hidden="true">仓库代码</th>
							<th hidden="true">仓库</th>
							<th hidden="true">来源单号</th>
							<th>单据日期</th>
							<th>单号</th>
							<th>交易数量</th>
							<th>交易单价</th>
							<th>交易对象</th>
							<th>对象名称</th>
							<th>销售人员</th>
							<th>备注</th>
							<th hidden="true">创建者id</th>
							<th hidden="true">公司id</th>
							<th hidden="true">公司</th>
							<th hidden="true">操作</th>
							<th></th>
						</tr>
					</thead>
					<tbody>
						<tr data-ng-show="row.userdata.recordState!='delete'"
							data-ng-class="{true:'active'}[Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)]"
							data-ng-click="Model.dataMaster.onRowClick(row,$event)"
							data-ng-repeat="row in Model.dataMaster.rows">
							<td style="width: 10px;"><span
								data-ng-show="Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)"
								class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>

							<td style="width: 10px;">{{Model.dataMaster.rows.indexOf(row)+1}}<span></span></td>
							<td style="width: 50px;" hidden="hidden"
								data-ng-bind="row.userdata.recordState"></td>
							<td style="width: 200px;" hidden="hidden"><span
								data-ng-bind="row.fID.value"></span></td>

							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.systemCode.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.billType.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.billTypeName.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.itemNo.value"></span></td>
							<td style="width: 200px;" title="{{row.itemNo.value}}"><span
								data-ng-bind="row.itemDescribe.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.unitCode.value"></span></td>
							<td style="width: 50px;"><span
								data-ng-bind="row.unitName.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.storageNo.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.storageName.value"></span></td>
							<td style="width: 100px;" hidden="true"><span
								data-ng-bind="row.originNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.orderDate.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.accountInvoiceNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.itemAmount.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.itemPrice.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.customerNo.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.customerName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.employeeName.value"></span></td>
							<td style="width: 100px;"><span
								data-ng-bind="row.comments.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.userId.value"></span></td>
							<td style="width: 100px;" hidden="hidden"><span
								data-ng-bind="row.enterpriseNo.value"></span></td>
							<td style="width: 200px;" hidden="hidden"><span
								data-ng-bind="row.enterpriseName.value"></span></td>

							<td style="width: 0px;"></td>
						</tr>

					</tbody>

					<tfoot>
								<tr>
									<th colspan="99"  style="padding:0px;">
									</th>
								</tr>
					</tfoot>

				</table>
			</div>

			</div>

		</div>

		<!-- 分页组件 -->
		<div class="row">
			<div class="col-sm-12">

				<pag-ination data="Model.dataMaster" first-text="首页"
					previous-text="上一页" next-text="下一页" last-text="末页"></pag-ination>

			</div>
		</div>


	</div>





</body>

</html>

